package top.kent90.service;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import top.kent90.dao.ZczyUserDao;
import top.kent90.pojo.ZczyUser;

@Service
public class ZczyUserServiceImpl implements ZczyUserService{

    @Autowired
    ZczyUserDao zczyUserDao;

    @Override
    public ZczyUser queryByMobile(String mobile) {
        ZczyUser zczyUser=zczyUserDao.queryByMobile(mobile);
        return zczyUser;
    }

    @Override
    public int saveUser(ZczyUser user) {
        int num=zczyUserDao.saveUser(user);
        return num;
    }
}
